﻿using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace bainap
{
    class Program
    {
        static void Main(string[] args)
        {
            SqlConnection con = new SqlConnection();
            con.ConnectionString = "Data Source=(local);Initial catalog=sale; User ID=sa;Password =sa";
            con.Open();
                    SqlCommand cmd = new SqlCommand("update customers set Name= 'la bo' where id = 5", con);

            cmd.ExecuteNonQuery();
            con.Close();
           
        }
    }
}
